<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>成员列表</title>
</head>
<body>
<h1>部门列表</h1>
<table border="1">
    <thead>
    <tr>
        <td>序号</td>
        <td>姓名</td>
        <td>手机号码</td>
        <td>邮箱</td>
    </tr>
    </thead>
    <tbody>
    {% for dep in member_result %}
    <tr>
        <td>{{ dep.members_id }}</td>
        <td>{{ dep.members_name}}</td>
        <td>{{ dep.members_phone }}</td>
        <td>{{ dep.members_email}}</td>
    </tr>
    {% empty %}
        <tr>
            <td colspan="4">无相关记录！</td>
        </tr>
    {% endfor %}
    </tbody>
</table>
</body>
</html>